package com.jeomo.mem.starter.entity;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 会员积分变动<br/>
 *
 * 会员的积分变动会依次更新 积分执行单,积分明细,会员卡;
 *
 * @author:Jackpot
 * @create 2020-12-30
 */
public class MemberPointsUpdate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**  组织号 */
    private String org;
    /** 会员号 */
    private String memberNo;
    private String memberName;
    private String memberPhone;
    /** 会员卡号 */
    private String cardNo;
    /**  会员卡版本号 */
    private Long cardVersion;
    /** 会员等级 */
    private String levelCode;
    /** 原积分 */
    private Integer pointsOld;
    /** 积分变动 */
    private Integer pointsChange;
    /** 积分来源  */
    private String srcTypeCode;
    /** 来源ID  */
    private String srcCode;
    /**  操作时间 /获取时间*/
    private LocalDateTime handleTime;
    /** 备注 */
    private String memo;
    /**  过期时间: 获取积分需要设置过期时间,消费掉积分不需要过期时间*/
    private LocalDate expiredTime;

    public Long getCardVersion() {
        return cardVersion;
    }

    public void setCardVersion(Long cardVersion) {
        this.cardVersion = cardVersion;
    }

    public String getOrg() {
        return org;
    }

    public void setOrg(String org) {
        this.org = org;
    }

    public String getMemberNo() {
        return memberNo;
    }

    public void setMemberNo(String memberNo) {
        this.memberNo = memberNo;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberPhone() {
        return memberPhone;
    }

    public void setMemberPhone(String memberPhone) {
        this.memberPhone = memberPhone;
    }

    public String getLevelCode() {
        return levelCode;
    }

    public void setLevelCode(String levelCode) {
        this.levelCode = levelCode;
    }

    public Integer getPointsOld() {
        return pointsOld;
    }

    public void setPointsOld(Integer pointsOld) {
        this.pointsOld = pointsOld;
    }

    public Integer getPointsChange() {
        return pointsChange;
    }

    public void setPointsChange(Integer pointsChange) {
        this.pointsChange = pointsChange;
    }

    public String getSrcTypeCode() {
        return srcTypeCode;
    }

    public void setSrcTypeCode(String srcTypeCode) {
        this.srcTypeCode = srcTypeCode;
    }

    public String getSrcCode() {
        return srcCode;
    }

    public void setSrcCode(String srcCode) {
        this.srcCode = srcCode;
    }

    public LocalDateTime getHandleTime() {
        return handleTime;
    }

    public void setHandleTime(LocalDateTime handleTime) {
        this.handleTime = handleTime;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public LocalDate getExpiredTime() {
        return expiredTime;
    }

    public void setExpiredTime(LocalDate expiredTime) {
        this.expiredTime = expiredTime;
    }
}
